import http from "@/utils/request";
// 获取招聘信息列表
export const getRecruitmentList = (data) => {
    return http.get("/rsgl/recruitment/list", data);
};
// 获取招聘信息详情
export const getRecruitmentById = (data) => {
    return http.get(`/rsgl/recruitment/get/${data}`);
};
// 添加招聘信息
export const addRecruitment = (data) => {
    return http.post("/rsgl/recruitment/add", data);
};
// 修改招聘信息
export const updateRecruitment = (data) => {
    return http.put("/rsgl/recruitment/update", data);
};
// 删除招聘信息
export const deleteRecruitmentById = (data) => {
    return http.delete(`/rsgl/recruitment/delete/${data}`);
};